#ifndef LinearColorMap_h
#define LinearColorMap_h

#include "Color.h"
#include "LinearInterpolationMap.h"

class LinearColorMap {
	LinearInterpolationMap *redMap, *greenMap, *blueMap;
	ValuePoint* makePoint(int, int);
	public:
		void init();

		void addRedPoint(int, int);
		void addGreenPoint(int, int);
		void addBluePoint(int, int);

		RGB getColorForValue(int);
};

LinearColorMap* newLinearColorMap();

#endif
